home *** CD-ROM | disk | FTP | other *** search
- Path: user1.mnsinc.com!huang
- From: huang@mnsinc.com (Szu-Wen Huang)
- Newsgroups: comp.lang.c
- Subject: Re: "Best fit" algorithm (help)
- Date: 30 Mar 1996 01:55:45 GMT
- Organization: Monumental Network Systems
- Message-ID: <4ji4b1$jc5@news1.mnsinc.com>
- References: <APC&7'0'22b6b83'874@peg.apc.org> <4jhlu7$5m2@airdmhor.gen.nz>
- NNTP-Posting-Host: user1.mnsinc.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- Simon Hosie (gumboot@airdmhor.gen.nz) wrote:
- : riox@peg.apc.org:
- : > I am looking for a "best fit" algorithm.
- : > The problem I have is very similar to finding the best way of fitting the
- : > maximum number of songs on (say) 45 minute tape.
-
- : I used to have a program like that for my C64, the guy that wrote it said
- : the most effective method he found was trying random combinations.
-
- The solution to the knapsack problem is to randomly allocate?! I'm
- fairly sure my algorithm teacher doesn't know this yet. Care to show
- some numbers? *Chuckle*
-